import request from '@/utils/request'

/**
 *获取部门详细列表
 * @returns
 */
export function getDapartmentList() {
  return request({
    url: '/company/department',
    method: 'GET'
  })
}

/**
 *根据id删除部门组织
 * @param {string} id
 * @returns
 */
export function delDapartmentComoany(id) {
  return request({
    url: '/company/department/' + id,
    method: 'DELETE'
  })
}
